package com.zyj.exam_app.testPaper_manager.service;

import com.zyj.exam_app.testPaper_manager.bean.TestPaperBean;

import java.util.List;

public interface TestPaperService {
    /**
     * 查询所有试卷
     * @return
     */
    public List<TestPaperBean> findAllTestPapers();

    /**
     * 根据ID删除一条试卷数据
     * @param testPaperId
     * @return
     */
    public boolean deleteOneTestPaperById(String testPaperId);

    /**
     * 新增试卷
     * @param testPaper
     */
    public void addOneTestPaper(TestPaperBean testPaper);

    /**
     * 根据ID查询试卷
     * @param testPaperId
     * @return
     */
    public TestPaperBean findTestPaperById(String testPaperId);


}
